package com.whisper.barrage;

import java.io.Serializable;

/**
 * 弹幕实体类
 *
 * @author ysz
 * @date 2024/2/20 14:35
 */
public class BarrageEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public static final int TextLarge=70;
    public static final int TextMedium=45;
    public static final int TextSmart=30;

    public static final int WHITE=7;

    public static final int BOLD=1;


    public int x=0;
    public int y=0;

    /** 弹幕颜色 */
    private int color;

    /** 弹幕大小 */
    private int size;

    /** 弹幕样式 */
    private int style;

    /** 弹幕文字 */
    private String text;

    /**  */
    private String senderId;

    /**  */
    private String receiverId;

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId;
    }

    public String getSenderId() {
        return senderId;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getStyle() {
        return style;
    }

    public void setStyle(int style) {
        this.style = style;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public BarrageEntity() {
    }

    public BarrageEntity(int color, int size, int style, String text) {
        this.color = color;
        this.size = size;
        this.style = style;
        this.text = text;
    }
}
